import Vue from 'vue'
import Router from 'vue-router'
import homepage from '@/page/homepage'
import login from '@/page/login/login'
import home from '@/page/home/home'
import budgetCtrl from '@/page/budgetCtrl/budgetCtrl'
import fundSupervise from '@/page/fundSupervise/fundSupervise'
import projManage from '@/page/projManage/projManage'
import projChoose from '@/page/projChoose/projChoose'

Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      component: homepage
    },
    {
      path: '/login',
      component: login
    },
    {
      path: '/projChoose',
      component: projChoose
    },
    {
      path: '/home',
      component: home
    },
    {
      path: '/budgetCtrl',
      component: budgetCtrl
    },
    {
      path: '/fundSupervise',
      component: fundSupervise
    },
    {
      path: '/projManage',
      component: projManage
    }

  ]
})
